* {
	margin: 0;
	padding: 0;
	text-decoration: none;
}

body {
	padding: 20px;
}

#container {
	margin: auto;
	width: 600px;
	height: 400px;
	border: 3px solid #333;
	overflow: hidden;
	position: relative;
	background-color: #eee;
}

#list {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
}


#list img {
	position: relative;
	float: left;
	width: 600px;
	height: 400px;
}

.buttons {
	position: absolute;
	height: 10px;
	width: auto;
	z-index: 2;
	bottom: 20px;
}

.buttons span {
	cursor: pointer;
	float: left;
	overflow: hidden;
	border: 1px solid #fff;
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 50%;
	background: #333;
	margin-right: 5px;
	text-align: center;
	color: #FFF;
}

.buttons .on {
	background: orangered;
}

.arrow {
	cursor: pointer;
	display: none;
	line-height: 39px;
	text-align: center;
	font-size: 36px;
	font-weight: bold;
	width: 40px;
	height: 40px;
	position: absolute;
	z-index: 2;
	top: 180px;
	background-color: RGBA(0, 0, 0, .3);
	color: #fff;
}

.arrow:hover {
	background-color: RGBA(0, 0, 0, .7);
}

#container:hover .arrow {
	display: block;
}

#prev {
	left: 20px;
}

#next {
	right: 20px;
}